package com.service.impl;

import com.bean.LoginCreds;
import com.bean.WebSiteInfo;
import com.bean.base.WebSite;
import com.bean.base.WebSiteItem;
import com.bean.other.MetaInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface WebSiteInfoService {

    //新增  修改  删除   分页条件查询
    String insert(WebSiteInfo webSiteInfo);

    String update(WebSiteInfo webSiteInfo);

    String delete(WebSiteInfo webSiteInfo);

    List select(WebSiteInfo webSiteInfo, MetaInfo metaInfo);

    WebSiteInfo get(String id);


    //新的网址管理
    String addWebSite(WebSite webSite);

    String delWebSite(WebSite webSite);

    List<WebSite> selectWebSite(WebSite webSite);//不进行分页了

    WebSite getWebSite(String id);


    //======

    String addWebSiteItem(WebSiteItem webSiteItem);

    String delWebSiteItem(WebSiteItem webSiteItem);

    List<WebSiteItem> selectWebSiteItem(WebSiteItem webSiteItem);//不进行分页了

    WebSiteItem getWebSiteItem(String id);

    List webSiteItemShow();




}
